Breadth First Search (BFS) Algorithm and Example Demonstration